Optimal. Leaf size=52 \[ \frac{\log (d+e x) \left (a e^2-b d e+c d^2\right )}{e^3}-\frac{x (c d-b e)}{e^2}+\frac{c x^2}{2 e} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.111738, antiderivative size = 52, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056 \[ \frac{\log (d+e x) \left (a e^2-b d e+c d^2\right )}{e^3}-\frac{x (c d-b e)}{e^2}+\frac{c x^2}{2 e} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x + c*x^2)/(d + e*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{c \int x\, dx}{e} + \left (b e - c d\right ) \int \frac{1}{e^{2}}\, dx + \frac{\left (a e^{2} - b d e + c d^{2}\right ) \log{\left (d + e x \right )}}{e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x**2+b*x+a)/(e*x+d),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0310959, size = 48, normalized size = 0.92 \[ \frac{2 \log (d+e x) \left (e (a e-b d)+c d^2\right )+e x (2 b e-2 c d+c e x)}{2 e^3} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x + c*x^2)/(d + e*x),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.005, size = 63, normalized size = 1.2 \[{\frac{c{x}^{2}}{2\,e}}+{\frac{bx}{e}}-{\frac{cdx}{{e}^{2}}}+{\frac{\ln \left ( ex+d \right ) a}{e}}-{\frac{\ln \left ( ex+d \right ) bd}{{e}^{2}}}+{\frac{\ln \left ( ex+d \right ) c{d}^{2}}{{e}^{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x^2+b*x+a)/(e*x+d),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.821104, size = 68, normalized size = 1.31 \[ \frac{c e x^{2} - 2 \,{\left (c d - b e\right )} x}{2 \, e^{2}} + \frac{{\left (c d^{2} - b d e + a e^{2}\right )} \log \left (e x + d\right )}{e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)/(e*x + d),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.201904, size = 70, normalized size = 1.35 \[ \frac{c e^{2} x^{2} - 2 \,{\left (c d e - b e^{2}\right )} x + 2 \,{\left (c d^{2} - b d e + a e^{2}\right )} \log \left (e x + d\right )}{2 \, e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)/(e*x + d),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.42907, size = 44, normalized size = 0.85 \[ \frac{c x^{2}}{2 e} + \frac{x \left (b e - c d\right )}{e^{2}} + \frac{\left (a e^{2} - b d e + c d^{2}\right ) \log{\left (d + e x \right )}}{e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x**2+b*x+a)/(e*x+d),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.204796, size = 69, normalized size = 1.33 \[{\left (c d^{2} - b d e + a e^{2}\right )} e^{\left (-3\right )}{\rm ln}\left ({\left | x e + d \right |}\right ) + \frac{1}{2} \,{\left (c x^{2} e - 2 \, c d x + 2 \, b x e\right )} e^{\left (-2\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)/(e*x + d),x, algorithm="giac")
[Out]